package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.vo.NursingProjectVo;

import java.util.List;

public interface NursingProjectService {

    /**
     * 分页条件查询护理项目
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    public PageResponse selectByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    void insert(NursingProjectDto nursingProjectDto);

    void deleteById(Long id);

    NursingProjectVo findById(Long id);

    void update(NursingProjectDto nursingProjectDto);

    void updateStatus(Long id, Integer status);

    List<NursingProjectVo> findAll();
}
